package com.java.vo;

import java.util.Date;

public class ShopTransOrder {
	
	private int id;
	private long orderNo;//订单no
	private int userId;
	private String phone;
	private int goodCnt;//购买商品数量
	private long amount;//购买商品数量
	private int point;
	private int priceType;
	private int shopProductId;//商品id
	private String shopProductName;//商品name
	private String address;//收货地址
	private String remark;//备注
	private short state;//1 申请中, 2 成功, 3 失败, 0未知, 4受理中
	private boolean isSend;//商品已发货
	private boolean isNeedSend;//商品是否需要发货
	private Date updatedAt;//
	private Date successTime;//订单成功时间
	private Date sendTime;//发货时间
	
	
	
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Date getSuccessTime() {
		return successTime;
	}
	public void setSuccessTime(Date successTime) {
		this.successTime = successTime;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public long getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(long orderNo) {
		this.orderNo = orderNo;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getGoodCnt() {
		return goodCnt;
	}
	public void setGoodCnt(int goodCnt) {
		this.goodCnt = goodCnt;
	}
	public long getAmount() {
		return amount;
	}
	public void setAmount(long amount) {
		this.amount = amount;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	public int getShopProductId() {
		return shopProductId;
	}
	public void setShopProductId(int shopProductId) {
		this.shopProductId = shopProductId;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public short getState() {
		return state;
	}
	public void setState(short state) {
		this.state = state;
	}
	public boolean isSend() {
		return isSend;
	}
	public void setSend(boolean isSend) {
		this.isSend = isSend;
	}
	public boolean isNeedSend() {
		return isNeedSend;
	}
	public void setNeedSend(boolean isNeedSend) {
		this.isNeedSend = isNeedSend;
	}
	public String getShopProductName() {
		return shopProductName;
	}
	public void setShopProductName(String shopProductName) {
		this.shopProductName = shopProductName;
	}
	public Date getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	public int getPriceType() {
		return priceType;
	}

	public void setPriceType(int priceType) {
		this.priceType = priceType;
	}

	@Override
	public String toString() {
		return "ShopTransOrder [id=" + id + ", orderNo=" + orderNo + ", userId=" + userId + ", phone=" + phone
				+ ", goodCnt=" + goodCnt + ", amount=" + amount + ", point=" + point + ", shopProductId="
				+ shopProductId + ", shopProductName=" + shopProductName + ", address=" + address + ", remark=" + remark
				+ ", state=" + state + ", isSend=" + isSend + ", isNeedSend=" + isNeedSend + ", updatedAt=" + updatedAt
				+ ", successTime=" + successTime + ", sendTime=" + sendTime + "]";
	}

}
